home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / writeb < prev    next >
Text File  |  1994-04-25  |  839b  |  28 lines

  1. writeb:
  2.  
  3. Syntax:    writeb ( "filename" , a , b , ... )
  4.  
  5. Description:
  6.     
  7.     The writeb function takes at least two arguments. The 1st
  8.     argument is the string that identifies the file to write to.
  9.     The file is opened with write permission, destroying any
  10.     pre-existing contents. The file is left open so that
  11.     subsequent writes will not destroy the contents.
  12.  
  13.     The arguments after the file name are the entities that will
  14.     be written. All entities are written in RLaB binary format.
  15.  
  16.     Example:
  17.  
  18.     writeb ( "file_name", a , b , c );
  19.  
  20.     Will open the file named `file_name' in write mode, and write
  21.     the contents of the variables a, b, and c.
  22.  
  23.     The matrix format that writeb uses is compatible with MATLAB's
  24.     matrix format. As long as the file only contains matrices,
  25.     MATLAB should be able to read RLaB binary output.
  26.  
  27. See Also: FILES, close, readb
  28.